package com.unicom.mec.device.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 边缘节点信息
 *
 * @author 刘亮武
 * @date 2020年06月17日
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class EdgeNodeVo {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "租户主键")
    private Long tenantId;

    @ApiModelProperty(value = "租户名称")
    private String tenantName;

    @ApiModelProperty(value = "边缘节点Key")
    private String edgeNodeKey;

    @ApiModelProperty(value = "边缘节点名称")
    private String edgeNodeName;

    @ApiModelProperty(value = "边缘节点描述")
    private String edgeNodeDesc;

    @ApiModelProperty(value = "接入状态:1.未接入;2.已接入")
    private Integer accessStatus;

    @ApiModelProperty(value = "接入时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date accessTime;

    @ApiModelProperty(value = "架构")
    private String arch;

    @ApiModelProperty(value = "cpu")
    private Integer cpu;

    @ApiModelProperty(value = "内存")
    private Integer memory;

    @ApiModelProperty(value = "硬盘")
    private String hardDisk;

    @ApiModelProperty(value = "运行状态:1.停止;2.运行;")
    private Integer runStatus;

    @ApiModelProperty(value = "运行时间")
    private String runTime;

    @ApiModelProperty(value = "ip")
    private String ip;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "维度")
    private String latitude;
}